package GUI;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;
import javax.swing.JLabel;

public class SendComplain extends JPanel {
	private JTextField sendTextField;

	public SendComplain()
	{
	
		initComponent();
	}
	public void initComponent()
	{
	setLayout(null);
		
		JButton btnSend = new JButton("Send");
		btnSend.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnSend.setHorizontalAlignment(SwingConstants.RIGHT);
		btnSend.setBounds(78, 204, 89, 23);
		add(btnSend);
		
		sendTextField = new JTextField();
		sendTextField.setBounds(127, 119, 86, 48);
		add(sendTextField);
		sendTextField.setColumns(10);
		
		JLabel lblDesc = new JLabel("Complain description");
		lblDesc.setBounds(42, 119, 64, 23);
		add(lblDesc);
		
		JButton button = new JButton("Exit");
		button.setBounds(301, 204, 112, 40);
		add(button);
	}
}
